<template>
  <div>
    <!-- 对age进行绑定,将age从字符串类型转换为数字型 -->
    <Student name="里斯" sex="女" :age="18"></Student>
  </div>
</template>

<script>
import Student from "./components/Student";
export default {
  components: {
    Student,
  },
};
</script>

